import React, { Component } from 'react';
import style from "./index.module.css"
import CitySelect from './citysele';
import { withRouter } from 'react-router';
import City from '../City'

class chouti extends Component {
    render() {
        return (
            <div>
                <div className={this.props.flag?style.chouti:style.nochouti}>
                    <div style={{position:'absolute',left:'7%',top:'2.5%',zindex:'100'}} onClick={this.props.changeChouti}>返回</div>
                    <City flag={this.props.flag} changeChouti={this.props.changeChouti}/>
                </div>
            </div>
        );
    }
}

export default  withRouter(chouti) 